<?php

namespace app\index\controller;

use app\common\controller\Frontend;

class Index extends Frontend
{

    protected $noNeedLogin = '*';
    protected $noNeedRight = '*';
    protected $layout = '';

    public function index()
    {
        return $this->view->fetch();
    }
    
    


    public function details(){
        $id = $this->request->param('id');
        $extensionId = $this->request->param('extensionId');
        \think\Session::set('extensionId',$extensionId);
        
        $this->redirect('/h5/#/pages/test_detail/test_detail?id='.$id);
    }


}
